package com.zhny.project.txt.model.domain;

import com.zhny.framework.aspectj.lang.annotation.Excel;
import com.zhny.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.util.Date;

/**
 * txt模型记录对象 txt_model
 * 
 * @author yanqun
 * @date 2020-01-15
 */
public class TxtModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模型主键 */
    private String modelKey;

    private String datasetKey;

    public String getDatasetKey() {
        return datasetKey;
    }

    public void setDatasetKey(String datasetKey) {
        this.datasetKey = datasetKey;
    }

    /** 算法模型名称 */
    @Excel(name = "算法模型名称")
    private String modelName;

    /** 算法id 0-随机森林 1- 皇家贝叶斯 */
    @Excel(name = "算法id 0-随机森林 1- 皇家贝叶斯")
    private String algorithmId;

    /** 保存路径 校验 英文及数字 长度10以内 */
    @Excel(name = "保存路径 校验 英文及数字 长度10以内")
    private String savePath;

    /** 操作者 */
    @Excel(name = "操作者")
    private String handleBy;

    /** 操作时间 */
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 删除标识 0- 未删除 1- 已经删除 */
    private Integer deleteFlag;
    private String userName;

    public String getSpeciesKey() {
        return speciesKey;
    }

    public String getStageKey() {
        return stageKey;
    }

    public void setStageKey(String stageKey) {
        this.stageKey = stageKey;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    //开始时间
    private  String startTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    //结束时间
    private   String endTime;

    public void setSpeciesKey(String speciesKey) {
        this.speciesKey = speciesKey;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    private String speciesKey;

    private String stageKey;


    public void setModelKey(String modelKey) 
    {
        this.modelKey = modelKey;
    }

    public String getModelKey() 
    {
        return modelKey;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setAlgorithmId(String algorithmId) 
    {
        this.algorithmId = algorithmId;
    }

    public String getAlgorithmId() 
    {
        return algorithmId;
    }
    public void setSavePath(String savePath) 
    {
        this.savePath = savePath;
    }

    public String getSavePath() 
    {
        return savePath;
    }
    public void setHandleBy(String handleBy) 
    {
        this.handleBy = handleBy;
    }

    public String getHandleBy() 
    {
        return handleBy;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setDeleteFlag(Integer deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag()
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("modelKey", getModelKey())
            .append("modelName", getModelName())
            .append("algorithmId", getAlgorithmId())
            .append("savePath", getSavePath())
            .append("handleBy", getHandleBy())
            .append("handleTime", getHandleTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
